﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Framework.Bus
{
    public interface IAsyncBus<in TMessage> : IBus<TMessage>
    {
        void Send<TResult>(TMessage message, Action<TResult> action = null);
        void Send(TMessage message, Action action);
    }
}
